import React from 'react'
import Login from "../components/mine/Login"
import Detail from "../components/mine/Detail"

export default function Mine() {

    let token = window.localStorage.getItem("token");
    if (token) 
    return   <Detail></Detail>
    return   <Login></Login>
} 
